<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <!-- <link rel="stylesheet" href="./css/common.css"> -->
    <style>
        .section-content {
            margin: 120px auto;
        }
    </style>
</head>

<body>
    <div id="container">
        <header>
            <h1>蜗牛学院学生管理系统</h1>
        </header>
        <main>
            <div class="section-content form-content">
                <div class="content">
                    <div class="content-info">
                        <h3>用户登录</h3>
                        <div>
                            <div>
                                <div class="content-row">
                                    <label>登录账号：</label>
                                    <input class="form-input" type="text" id="username" value="123">
                                </div>
                                <div class="content-row">
                                    <label>登录密码：</label>
                                    <input class="form-input" type="text" id="password" value="123">
                                </div>
                                <div class="content-row" style="margin-top: 50px;">
                                    <label></label>
                                    <button class="blue" id="loginBtn">登录</button>
                                    <a href="./register.html">没有账号？去注册</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
    <!-- <script src="./js/jquery.min.js"></script> -->

    <!-- <script>
        $('#loginBtn').click(function () {
            const name = $('#username').val();
            const pwd = $('#password').val();
            $.ajax({
                url: '/users/login',  // 接口分为一级和二级
                type: 'POST',
                data: {
                    username: name,
                    password: pwd
                },
                success(res) {
                    if (res.code) {
                        alert('恭喜你，登录成功');
                    } else {
                        alert("抱歉，登录失败");
                    }
                }
            })
        })
    </script> -->
</body>

</html>